package Radar;

import java.awt.Graphics;
import java.awt.image.BufferedImage;

import javax.swing.JPanel;

import syncmaster.BeatModelInterface;

@SuppressWarnings("serial")
public class DrawA extends JPanel{ 
	   private Flash fl; 
	   private Graphics buff;
	   
	   public DrawA(BufferedImage im, BeatModelInterface model){ 
	      buff = im.getGraphics(); 
	      fl = new Flash(this, im, buff, model); 
	      fl.start();  
	   } 
	   
	   public void paint(Graphics g){ 
	      fl.draw(g); 
	   } 
	   
	   public void update(Graphics g){ 
	      paint(g); 
	   } 
	}
